
#art-gallery {
  max-width: 768px;
  width: 100%;
  height: 100%;
  position: absolute;
}

#art-gallery .container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

#art-gallery .item {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #fff;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

#art-gallery .image-caption {
  overflow: hidden;
  width: 100%;
  min-height: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  background: #ccc;
  z-index: 1;
}

#art-gallery .cap-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 80px;
}

#art-gallery .cap {
  position: absolute;
  width: 100%;
  min-height: 80px;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

#art-gallery .img-cap-container .image {
  width: 100%;
  overflow: hidden;
  z-index: -1;
}

#art-gallery .img-cap-container .image img {
  width: 100%;
  height: auto;
}

#art-gallery img, #art-gallery .cap-container {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}